# $devImageName="ccr.ccs.tencentyun.com/dev-kangzhan/aive-consumersystem-apis"
# Write-Output  ${devImageName}

# $dockerfile="./AIVE.ConsumerSystem.Apis/Dockerfile"

# $tag=Get-Date -Format 'yyMMdd-HHmmss'
# Write-Output $tag

# docker build --rm -f ${dockerfile} -t ${devImageName}:${tag} .

# docker images ${devImageName}

# docker login --username 100005857841 --password 123456abcD. ccr.ccs.tencentyun.com
# docker push ${devImageName}:${tag}


$devAcqtoolsImageName="ccr.ccs.tencentyun.com/yximages/yxcloudapi"
Write-Output ${devAcqtoolsImageName}
  
$imagetag=Get-Date -Format 'yyMMdd-HHmmss'

Write-Output ${imagetag}

$acqtoolsDockerfile="./Dockerfile"


 
docker build --rm -f $acqtoolsDockerfile -t ${devAcqtoolsImageName}:${imagetag} .

docker images ${devAcqtoolsImageName}

docker login --username 100005391589 --password qiang520520 ccr.ccs.tencentyun.com

docker push ${devAcqtoolsImageName}:${imagetag}